﻿using System.Collections;
using TSites.Core.Domain.UserMangerment;
using TSites.Core.Repository;
using TSites.Common.Enums;

namespace TSites.Core.DataInterfaces.UserManagerment
{
	public interface IUserDao : IRepository<User, string>
	{
		IList GetUserList(string userId, string username, string email, int activeCode,
			int pageIndex, int pageSize, out int totalItems);
		bool CheckExists(string uid, string email, EXISTS_TYPE type);
		bool CheckEmailExists(string email, string uid);
		int VerifyActivedKey(string key, int activedCode);
		User GetByEmail(string email);
		User GetByKeyVerify(string keyVerify);
	}
}
